//违规api
import request from '@/utils/request'

// 获取所有举报
export const getAllUserReportListByTimeDesc = (data) =>request({
  url: '/biz/report/getAllUserReportListByTimeDesc',
  method: 'post',
  data
})

// 举报驳回
export const getRejectReport = (data) =>request({
  url: '/biz/report/rejectReport',
  method: 'post',
  data
})

// 举报通过
export const getPassReport = (data) =>request({
  url: '/biz/report/passReport',
  method: 'post',
  data
})

// 举报列表
export const getPenaltyList = (data) =>request({
  url: '/biz/penalty/getPenaltyList',
  method: 'post',
  data
})


// 获取新建一条处罚规则
export const AddPenaltyConfiguration = (data) =>request({
  url: '/biz/penalty/addPenaltyConfiguration',
  method: 'post',
  data
})

// 删除一条处罚规则
export const DeletePenaltyConfiguration = (data) =>request({
  url: '/biz/penalty/deletePenaltyConfiguration',
  method: 'post',
  data
})

// 获取处罚规则列表
export const getPenaltyConfigurationList = (data) =>request({
  url: '/biz/penalty/getPenaltyConfigurationList',
  method: 'post',
  data
})

// 修改一条处罚规则
export const UpdatePenaltyConfiguration = (data) =>request({
  url: '/biz/penalty/updatePenaltyConfiguration',
  method: 'post',
  data
})
